package com.neuedu.elmserver.service;

import com.neuedu.elmserver.pojo.Business;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.elmserver.vo.ResultVO;

import java.util.List;

/**
 * <p>
 * 商家表 服务类
 * </p>
 *
 * @author wyh
 * @since 2024-11-07
 */
public interface BusinessService extends IService<Business> {
    public ResultVO queryBusinessByType(Integer typeId);

    public ResultVO queryBusinessById(Integer id);

    public ResultVO queryBusinessByRemarks();

    public ResultVO queryBusinessByDistance();

    public ResultVO queryBusinessBySales();

    public ResultVO getCategorisedBusiness(List<Business> businessList, Integer typeId);

    public ResultVO getAllBusinessListCount();

    public ResultVO queryBusinessByRankIdAsc();
}
